/*启动文件*/
/*
 * 开启一个http服务器
 * 登录环信服务器获取token
 * */
var http = require("http"),
	httpRoute = require('./httpRoute.js').init(http);
//处理文件分发
http.createServer(function(req, res) {
	httpRoute.httpRequest(req, res)

}).listen(8001);

console.log("Server running");

